package org.crazyit.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class StreamClientApp {

	@RequestMapping(method = RequestMethod.GET, value = "/hello")
	public String hell() {
		System.out.println("调用业务方法");
		return "Hello";
	}

	public static void main(String[] args) {
		SpringApplication.run(StreamClientApp.class, args);
	}
}
